<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j">

<ui:component>
<a4j:outputPanel id="mensagens" ajaxRendered="true">
	<h:messages globalOnly="true" fatalClass="alert alert-error" errorClass="alert" infoClass="alert alert-success" />
</a4j:outputPanel>
</ui:component>
</html>